package dev.admin.service.base;

import dev.admin.model.web.GridModel;
import dev.common.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * @program: JoyDev
 * @description: Layui数据类型service
 * @author: MR.C
 * @create: 2018-02-07 16:57
 **/
public interface LayuiService<T> extends IService<T>{

    boolean verifyData(T t) throws Exception;

    GridModel getGridData(HttpServletRequest request);

    int saveData(T t) throws Exception;

    int updateData(T t) throws Exception;
}
